package org.example.ideavr.service;

import jakarta.servlet.http.HttpServletResponse;
import org.example.ideavr.common.result.PageResult;
import org.example.ideavr.pojo.dto.GamePageQueryDTO;
import org.example.ideavr.pojo.entity.Game;

import java.io.IOException;

public interface GameService {
    PageResult gamePage(GamePageQueryDTO gamePageQueryDTO);

    void gameUpload(Game game);

    String gameDownload(HttpServletResponse response, Long gameId) throws IOException;

    void gameUpdate(Long gameId, Game game);

    Game getGameById(Long gameId);
}
